package net.wofly.sale.order.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.wofly.right.domain.Organization;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 取货门店信息
 *
 * @author lign
 * @version 1.0
 * @created 30-12月-2017 15:35:31
 */
@Data
@Entity
@Table(name = "sale_order_takegoodsshopinfo")
@ApiModel(description = "取货(发货)门店信息")
public class TakeGoodsShopInfo {
    
    @Id
    private String takeGoodsShopInfoID;
    
    private Long modifyDate;
    
    @ApiModelProperty(value = "订单ID")
    private String orderID;
    /**
     * 门店组织机构ID
     */
    @ApiModelProperty(value = "门店组织机构ID")
    private String shopOrgID;
    
    @ApiModelProperty(value = "门店信息")
    @Transient
    Organization organization;
    
    public TakeGoodsShopInfo() {
    
    }
    
    @Override
    public void finalize() throws Throwable {
    
    }
}